{% extends "goalbase.html" %}
{% load ifsetting_tag %}
{% load i18n %}
{% block content %}
<td width="89%" rowspan=2> 
 
<!-- header here --> 
<hr noshade class="content" />

    

    {% if user.is_authenticated %}
        <h1> {{ user.username }}</h1>
          {% else %}
          <h1> no nuuusdfgsdfgsuuonon</h1>
     {% endif %}


        <table  border = "1" id="rounded-corner" summary="">
              <thead>
                <tr>
                  <th width="599" class="rounded-company STYLE1" scope="col">To be done today </th>
                  <th width="153" class="rounded-q1" scope="col">&nbsp;</th>
                  <th width="132" class="rounded-q2" scope="col">Action</th>
                </tr>
              </thead>
              <tfoot>
              </tfoot>
              <tbody>
              
              {% if today_plan_list %}
                  {% for plan in today_plan_list %}   
                   <tr>
                     <td><span class="STYLE3">{{ plan.description }}</span></td>
                     <td>{{ plan.deadline }}</td>
                     <td><a href="http://127.0.0.1:8000/goals/closePlan/?plan_id={{plan.id}}">Done</a></td>
                   </tr>
                {% endfor %}
               {% else %}
                   <p>No polls are available.</p>
               {% endif %} 
                
              </tbody>
      </table>
        
<p>&nbsp;</p>
{% endblock %}
 
